Autogenerated HTML docs for v2.28.0-450-g3a238
diff --git a/githooks.txt b/githooks.txt index 31b601e..cf95d6d 100644 --- a/githooks.txt +++ b/githooks.txt
@@ -193,7 +193,9 @@ the ref of the new HEAD (which may or may not have changed), and a flag indicating whether the checkout was a branch checkout (changing branches, flag=1) or a file checkout (retrieving a file from the index, flag=0). -This hook cannot affect the outcome of `git switch` or `git checkout`. +This hook cannot affect the outcome of `git switch` or `git checkout`, +other than that the hook's exit status becomes the exit status of +these two commands. It is also run after linkgit:git-clone[1], unless the `--no-checkout` (`-n`) option is used. The first parameter given to the hook is the null-ref, the second the